﻿
using System.Collections.Generic;

namespace HRMS_Model
{
    public partial class Employee
    {
        private string _departmentName;
        public string DepartmentName
        {
            get { _departmentName = (Department != null ? Department.DepartmentName : "");
                return _departmentName;
            }
            set { _departmentName = value; }
        }

        private string _designationName;
        public string DesignationName
        {
            get { _designationName = (Designation != null ? Designation.DesignationName : "");
                return _designationName;
            }
            set { _designationName = value; }
        }

        public IEnumerable<Designation> EmpDesignations { get; set; }

        public IEnumerable<Department> EmpDepartments { get; set; }
    }
}
